import request from '@/utils/request'

// 查询题目导入记录列表
export function listQuestionImportLog(query) {
  return request({
    url: '/exam/questionImportLog/list',
    method: 'get',
    params: query
  })
}

// 查询题目导入记录所有列表
export function listAllQuestionImportLog(query) {
  return request({
    url: '/exam/questionImportLog/listAll',
    method: 'get',
    params: query
  })
}

// 查询题目导入记录详细
export function getQuestionImportLog(logId) {
  return request({
    url: '/exam/questionImportLog/getInfo/' + logId,
    method: 'get'
  })
}

// 新增题目导入记录
export function addQuestionImportLog(data) {
  return request({
    url: '/exam/questionImportLog/add',
    method: 'post',
    data: data
  })
}

// 修改题目导入记录
export function updateQuestionImportLog(data) {
  return request({
    url: '/exam/questionImportLog/edit',
    method: 'post',
    data: data
  })
}

// 删除题目导入记录
export function delQuestionImportLog(logId) {
  return request({
    url: '/exam/questionImportLog/remove/' + logId,
    method: 'get'
  })
}
